.carousel{
    margin: auto;
}
.text{
    position: absolute;
    top:calc((500px - 200px)/2);
    width: calc(100% - 100px);
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 60px;
    font-weight: 800;
    text-align: center;
    line-height: 200px;
}